package com.xiaoshuidi.cloud.module.bpm.controller.admin.reserveticket.vo;

import com.alibaba.excel.annotation.format.DateTimeFormat;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.xiaoshuidi.cloud.module.bpm.convert.MyLocalDateTimeConverter;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;

import java.time.LocalDateTime;
import java.util.*;
import java.math.BigDecimal;
import java.math.BigDecimal;

import com.alibaba.excel.annotation.ExcelProperty;

import javax.validation.constraints.NotNull;

import static com.xiaoshuidi.cloud.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

/**
 * 预约工单 Excel VO
 *
 * @author 合房租赁
 */
@Data
public class ReserveTicketExcelVO {

//    @ExcelProperty("id")
//    private Long id;
//
//    @ExcelProperty("申请人的用户编号")
//    private Long userId;

//    @ExcelProperty("客户类型")
//    private String customerType;

    @ExcelProperty("客户姓名")
    private String customerName;

    @ExcelProperty("性别")
    private String customerGender;

    @ExcelProperty("联系方式")
    private String mobile;

    @ExcelProperty("客户来源")
    private String customerOrigin;

//    @ExcelProperty("紧急程度")
//    private String urgencyLevel;

    @ExcelProperty("入住时间")
    private String checkInDate;

    @ExcelProperty("预约日期")
    private String reserveDate;

    @ExcelProperty("预约时间-开始")
    private String reserveTimeStart;

    @ExcelProperty("预约时间-结束")
    private String reserveTimeEnd;

    @ExcelProperty("租期(月)")
    private Byte rentTerm;

//    @ExcelProperty("最低金额")
//    private BigDecimal priceMin;
//
//    @ExcelProperty("最高金额")
//    private BigDecimal priceMax;

    @ExcelProperty("地址")
    private String address;

    @ExcelProperty("人数")
    private Byte peopleNum;

//    @ExcelProperty("租房数量")
//    private Byte rentNum;

    @ExcelProperty("房型")
    private String houseType;

    @ExcelProperty("跟进人")
    private String followUpUserName;

    @ExcelProperty("工单来源")
    private String from;

    @ExcelProperty(value = "创建时间", converter = MyLocalDateTimeConverter.class)
    private LocalDateTime createTime;

}
